package com.shelpe.services.scheduler.syncclient;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.shelpe.services.scheduler.dto.SyncRecordDto;


@FeignClient(name="${simbasync.serviceID}", url="${simbasync.url}")
@RequestMapping(value = "/simbasync")
public interface SyncRecordClient {

	@RequestMapping(method = RequestMethod.GET, value = "/deletesyncrecord")
	public SyncRecordDto deleteAllSyncRecord();
	
	@RequestMapping(method = RequestMethod.GET, value = "/needsyncagain")
	public SyncRecordDto needSyncAgain();
}
